//
//  UserSettingTableViewCell.m
//  LoveHealth
//
//  Created by 枫哥 on 14-9-30.
//  Copyright (c) 2014年 lanou. All rights reserved.
//

#import "UserSettingTableViewCell.h"

@implementation UserSettingTableViewCell
- (void)dealloc
{
    self.cellView = nil;
    self.iconView = nil;
    self.label = nil;
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        [self setupSubviews];
    }
    return self;
}

- (void)setupSubviews
{
    self.cellView = [[UIView alloc]initWithFrame:self.contentView.bounds];
    [self.contentView addSubview:self.cellView];
    self.iconView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 9, 32, 32)];
    [self.contentView addSubview:self.iconView];
    self.label = [[UILabel alloc]initWithFrame:CGRectMake(45, 10, 260, 30)];
    [self.contentView addSubview:self.label];
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
